﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Data.SqlClient;
namespace yfxt
{
    static class Program
    {
        public static string  ygxm = ""; //全局员工姓名
        public static string ygbh = "";  //全局员工编号
        public static string ygjb="";  //全局员工级别
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            login login = new login();
            login.Visible = false;
            login.ShowDialog();
            //Application.Run(new zy_ptyz());
            if (ygxm.CompareTo("") == 0 || ygbh.CompareTo("") == 0)
            {
            }
            else
            {
                Application.Run(new mainform(ygxm, ygbh, ygjb));
            }
	                
	      
        }
    }
}